-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(cypress): correction of cypress tests env variables for Payment method list #5299
Conversation
@@ -250,7 +244,7 @@ describe("Payment Method list using Constraint Graph flow tests", () => { | |||
|
|||
// payment method list which should only have credit with Stripe and Cybersource | |||
it("payment-method-list-call-test", () => { | |||
let data = getConnectorDetails(globalState.get("connectorId"))[ | |||
let data = getConnectorDetails("stripe")[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how do you make sure that it also runs for cybersource
? i'm sure that this will run for stripe
irrespective of connectors.
the same applies applies else where
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only for getting the Response
and Request
configs
which in PaymentMethodList
will be same irrespective of any connector, as this is connector agnostic
.
Moreover, we have implemented it for Stripe and Cybersource, So if the List runs fine for any 2 connectors it will run for any connectors, again as this is connector agnostic.
Type of Change
Description
Setting Stripe as Default Pass-by for configs of response in our PaymentMethodList test scenarios.
Additional Changes
Motivation and Context
How did you test it?
Ran Cypress tests on Local:
Checklist
cargo +nightly fmt --all
cargo clippy